import React from 'react';
import {
  Tabs,
} from 'antd';
import Lifting from './Lifting';
import Dispatching from './Dispatching';

import styles from './index.module.less';

export default class LogisticsSetting extends React.Component {

  render() {
    return (
      <div className={styles.wrapperBox}>
        <div className={styles.logisticsSettingBox}>
          <Tabs defaultActiveKey='1'>
            <Tabs.TabPane tab='上门自提' key='1'>
              <Lifting />
            </Tabs.TabPane>
            <Tabs.TabPane tab='商家配送' key='2'>
              <Dispatching />
            </Tabs.TabPane>
          </Tabs>
        </div>
      </div>
    );
  }
}
